#include <iostream>
using namespace std;
int main()
{
	char arr[] = "a-bC-dEf-ghIj";
	int sz = sizeof(arr) / sizeof(arr[0]);
	int left = 0;
	int right = sz - 1;
	while (left < right)
	{
		if (isalpha(arr[left]) && isalpha(arr[right]))
		{
			char tmp = arr[right];
			arr[right] = arr[left];
			arr[left] = tmp;
			left++;
			right--;
		}
		else
		{
			if (isalpha(arr[left]))
			{
				right--;
			}
			else
				left++;
		}
	}
	cout << arr << endl;
	system("pause");
	return 0;
}